package com.tyqx.hashchainbiz.service;

import com.tyqx.hashchainbean.module.BuyProduct;

import java.util.Date;
import java.util.List;

public interface BuyProductService {
    public Integer buyProduct(BuyProduct buyProduct)throws Exception;

    public List<BuyProduct> getBuyProductById(String donateId, String userName);

    public List<BuyProduct> getBuyProductByTime(Date startTime, Date endTime, String userName);
}
